package com.hc.controller;

import com.hc.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/role")
public class RoleController {

    @Autowired
    private RoleService roleService;

    @RequestMapping("/list")
    public ModelAndView list(ModelAndView mav) {
        return mav;
    }

    @RequestMapping("/detail")
    public ModelAndView detail(ModelAndView mav, Integer id) {
        return mav;
    }

    @RequestMapping("/add")
    public ModelAndView add(ModelAndView mav) {
        return mav;
    }

    @RequestMapping("/update")
    public ModelAndView update(ModelAndView mav) {
        return mav;
    }

    @RequestMapping("/delete")
    public ModelAndView delete(ModelAndView mav, Integer id) {
        return mav;
    }

}
